<!DOCTYPE HTML>
<html xmlns:th="http://www.thymeleaf.org">
<div th:replace="~{fragment/headFragment :: head}"></div>
<body class="cbp-spmenu-push">
<div class="main-content">
    <!--left-fixed -navigation-->
    <div th:replace="~{fragment/left-border :: left}"></div>

    <div th:replace="~{fragment/header :: header}"></div>
    <!-- //header-ends -->

    <!-- main content start  考勤表的统计-->

    <div id="page-wrapper">
        <div class="main-page">
            <div class="tables">
                <!--                <h3 class="title1">Tables</h3>-->


                <!--  考勤统计表 -->
                <div class="bs-example widget-shadow">
                    <h4 style="color: red">会话记录:</h4>


                    <table class="table table-bordered"> <thead>
                    <tr> <th class="warning">序号</th>
                        <th class="active">姓名</th>
                        <th class="info" >状态</th>
                        <th class="success">电话</th>
                        <th class="warning">公司</th>
                        <th class="danger">级别</th>
                        <th class="success">加入时间</th>
                        <th class="info" >操作</th>
                    </tr> </thead>
                        <tbody>
                        <tr th:each="cs,rowInfo : ${nameLists1}">
                            <th class="warning" scope="row" th:text="${rowInfo.count}">1</th>
                            <td class="active" th:text="${cs.getRealname()}"></td>
                            <td class="info" th:text="${ cs.getState()}"></td>
                            <td class="success" th:text="${cs.getPhone()}"></td>
                            <td class="warning" th:text="${cs.getCompany()}"></td>
                            <td class="danger" th:text="${cs.getLevel()}"></td>
                            <td class="success" th:text="${cs.getLastedlogintime()}"></td>
                            <td class="info" >
                                <a th:href="@{/sessionMessage/liaotian(ID=${cs.getId()},NAME=${cs.getRealname()})}">发起会话</a>
                            </td>
                        </tr>
                        </tbody></table>

                </div>
            </div>
        </div>
    </div>

</div>
<!-- Classie -->
<script src="js/classie.js"></script>
<script>
    var menuLeft = document.getElementById( 'cbp-spmenu-s1' ),
        showLeftPush = document.getElementById( 'showLeftPush' ),
        body = document.body;

    showLeftPush.onclick = function() {
        classie.toggle( this, 'active' );
        classie.toggle( body, 'cbp-spmenu-push-toright' );
        classie.toggle( menuLeft, 'cbp-spmenu-open' );
        disableOther( 'showLeftPush' );
    };

    function disableOther( button ) {
        if( button !== 'showLeftPush' ) {
            classie.toggle( showLeftPush, 'disabled' );
        }
    }
</script>
<!--scrolling js-->
<script src="js/jquery.nicescroll.js"></script>
<script src="js/scripts.js"></script>
<!--//scrolling js-->
<!-- Bootstrap Core JavaScript -->
<script src="js/bootstrap.js"> </script>
</body>
</html>